package com.example.demo.com.example.demo.spi.impl;

import com.example.demo.spi.Compresser;

import java.nio.charset.StandardCharsets;

public class WinRarCompresser  implements Compresser {
    @Override
    public byte[] compress(byte[] bytes) {
        return "compress by WinRar".getBytes(StandardCharsets.UTF_8);
    }

    @Override
    public byte[] decompress(byte[] bytes) {
        return "decompress by WinRar".getBytes(StandardCharsets.UTF_8);
    }
}
